package com.woniuxy.his.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.his.controller.form.AddGuahaoForm;
import com.woniuxy.his.entity.Department;
import com.woniuxy.his.entity.Doctor;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.his.entity.Guahao;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.his.vo.GuaHaoVo;

import java.util.List;

import java.util.List;

/**
 * <p>
 * 挂号表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-24
 */
public interface IGuahaoService extends IService<Guahao> {


    public Integer addGuahao(AddGuahaoForm addGuahaoForm);

    IPage findGuahaoByPage(String patientName,Integer size,Integer current);

    public List<Doctor> findDoctorsByDepId(Integer depId);

    public List<Department> findAllDepartment();
    //获取挂号信息，在挂号处理页面展示
    public IPage queryInformationOfGuaHao(int current, int pageSize,int doctorId);

    //根据返回的挂号ID,将修改后的病人状态status和症状symptom添加数据库
    public Integer modifyStatusAndSymptom(Integer guaId,String status,String symptom,String diaResult);
}
